package com.aplikata.evok.bo;

import java.util.HashSet;
import java.util.Set;

/**
 * @ClassName: ResultDetail
 * @Description: TODO
 * @author Huyun
 * @date 15. 5. 2012. 14:54:40
 */
public class ResultDetail implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private Result result;
	private String name;
	private Integer score;
	private Integer sort;
	private Set<PatientQtnaireResult> patientQtnaireResults = new HashSet<PatientQtnaireResult>(0);
	
	public static final String QY_FIND_BY_RESULT = "ResultDetail.findByResult";

	// Constructors

	/** default constructor */
	public ResultDetail() {
	}

	/** minimal constructor */
	public ResultDetail(Result result) {
		this.result = result;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Result getResult() {
		return result;
	}

	public void setResult(Result result) {
		this.result = result;
	}

	public Set<PatientQtnaireResult> getPatientQtnaireResults() {
		return patientQtnaireResults;
	}

	public void setPatientQtnaireResults(Set<PatientQtnaireResult> patientQtnaireResults) {
		this.patientQtnaireResults = patientQtnaireResults;
	}

}